package com.corning.patient.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 
 * 
 * @author wtt
 * @email 1239115389@qq.com
 * @date 2022-03-20 15:16:34
 */
@Data
@TableName("wisdom_integration_record")
public class IntegrationRecordEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 积分记录编号
	 */
	@TableId
	private Integer id;
	/**
	 * 会员id
	 */
	private Integer patientId;
	/**
	 * 原有积分
	 */
	private Integer oldIntegration;
	/**
	 * 改变积分
	 */
	private Integer changeIntegration;
	/**
	 * 最终积分
	 */
	private Integer newIntegration;
	/**
	 * 创建时间
	 */
	private Date createTime;
	/**
	 * 0：发放成功
1：积分退回
	 */
	private Integer integrationStatu;
	/**
	 * 订单详情id
	 */
	private Integer orderItemId;

}
